
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="format-detection" content="telephone=no,email=no" />
<link rel="shortcut icon"
	href="//9.url.cn/edu/lego_modules/edu-ui/0.0.1/img/nohash/favicon.ico" />
<meta name="robots" content="noindex,nofollow">
<title>机构管理_心课堂</title>
    <link rel="stylesheet" type="text/css" href="${root}assets/easyui/themes/metro/easyui.css">
    
<link rel="stylesheet" href='${root}css/common.css' />
<link rel="stylesheet" href='${root}css/main.css' />

</head>
<body>

	<div class="s-main autoM" style="padding-top: 40px;">


		<div class="sm-main">
			<div class="agency-manage">
				<div id="important_tips" style="">
					<div class="note-msg">
						如开设收费课程，需先填写结算信息并签署《收益补充协议》，<a href="/agency/billing/index.html"
							target="_blank">现在就去&gt;&gt;</a>
					</div>
				</div>
				<div id="agency_cont">
					<div id="showIndexManagerNew"
						class="showIndexManagerNew agency-manage-item"
						style="display: block;">
						<div class="jgm-cont mt20 imanager form"
							id="index-manager-new__container">
						
							<div class="jgm-hd" id="js-index-manager-new__banner">
								<div class="jgm-hd-sub-title">
									顶部宣传图<span class="jgm-hd-info"><i data-type="img"
										data-hovertip="//8.url.cn/edu/modules/img/nohash/index_manager/index_banner.jpg"
										class="icon-font i-question"></i>设置宣传图片，宣传机构的相关课程、课程包或活动，引导学员关注课程进行咨询。</span><a
										href="javascript:void(0);" id="add-banner-btn"
										class="jgm-hd-sub-btn nor-link add-banner-btn"
										title="最多只能添加3个顶部宣传图">添加宣传图</a>
								</div>
								<div class="clearfix" id="banner__content">
									<div id="" class="grid-wrap ">
										<table cellpadding="0" cellspacing="0" class="grid-header-bg">
											<thead>
												<tr>
													<th class="grid-header-1 " style="width: 335px"><span>图片</span></th>
													<th class="grid-header-2 " style="width: 430px"><span>跳转对象</span></th>
													<th class="grid-header-3 " style="width: 184px"><span>操作</span></th>
												</tr>
											</thead>
										</table>
										<div class="grid-data-wrap">
											<table cellpadding="0" cellspacing="0" class="grid-data">
												<tbody>
													<!--:for(b in banners!){  -->
													<tr class="grid-row-${b.id} ">
														<td class="grid-col-1" style="width: 335px;">
															<div class="banner-upload upload">
																<img width="300px" height="85px" src="${www}${b.img}">
																<div class="add-btn">
																	<p class="add-first-line">
																		<span class="add-ico">+</span><span
																			class="add-ico-text">添加顶部宣传图</span>
																	</p>
																	<p>尺寸1200x360，小于2M</p>
																</div>
																<div class="mask">
																	<div class="mask-bg"></div>
																	<div class="mask-cont">重新上传图片</div>
																</div>
																<input type="file" name="filename" accept="image/*"
																	class="banner-img-upload">
															</div>
														</td>
														<td class="grid-col-2" style="width: 430px;">
															<p>
																<small class="selected-tip">跳转对象为空则不在首页显示</small>
															</p>
															<div class="diy-select-area base-info">
																<select class="diy-select"
																	style="width: 179px; color: #666;">
																	<option  value="">选择跳转对象</option>
																	<option ${b.type=='course'?'selected':''} value="course">查看课程详情</option>
																	<option ${b.type=='cate'?'selected':''} value="cate">打开课程分类</option>
																	<option ${b.type=='qq'?'selected':''} value="qq">打开QQ咨询</option>
																</select>

															</div>
															<div class="select-btn-box">
																<div
																	class="select-courses select-sub ${(b.type=='course')?'':'hide'}"
																	data-type="0">
																	<select class="diy-select easyui-combogrid"
																		style="width: 179px; height: 39px;"
																		data-options="
													                    panelWidth: 500,
													                    idField: 'id',
													                    textField: 'productname',
													                    url: '${root}json/manage/course_json?agency_id=${sess.user.agency_id}',
													                    method: 'get',
													                    columns: [[
													                        {field:'id',title:'ID',width:80},
													                        {field:'title',title:'标题',width:80,align:'right'}
													                    ]],
													                    fitColumns: true,
													                    label: '',
													                    labelPosition: 'top'
													                ">
																	</select>
																	<p class="selected-tip">选择课程</p>
																</div>
																<div
																	class="select-group select-sub ${(b.type=='cate')?'':'hide'}"
																	data-type="1">
																	<div class="diy-select-area base-info">
																		<select class="diy-select"
																			style="width: 166px; color: #666;">
																			<!--:for(c in cache.cates){  -->
																			<option value="${c.id}">${c.name}</option>
																			<!--:}  -->
																		</select>
																	</div>
																</div>
																<div
																	class="select-service select-sub ${(b.type=='qq')?'':'hide'}"
																	data-type="2">
																	<input type="text">
																	<p class="selected-tip">填写QQ号码</p>
																</div>
															</div>
														</td>
														<td class="grid-col-3 " style="width: 184px;">
															<div class="handle-area">
																<!-- <a href="javascript:void(0);" data-control="up"
																	class="handle-btn-up disabled">上移</a> <a
																	href="javascript:void(0);" data-control="down"
																	class="handle-btn-down">下移</a> -->
																<a href="javascript:void(0);" data-control="del"
																	class="handle-btn-del">删除</a>
															</div>
														</td>
													</tr>
													<!--:}  -->
												</tbody>
											</table>
											<div class="loading-wrap"></div>
										</div>
										<div class="grid-page-wrap sort-page"></div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="clear"></div>
	</div>
	<!-- 课程  -->
	
	<script type="text/javascript" src="${root}assets/js/jquery.min.js"></script>
	<script type="text/javascript" src="${root}assets/easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript">
$(function(){

})
</script>
</body>
</html>
